package com.example.springaop.Controller;


import org.springframework.stereotype.Controller;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;

@RestController
@RequestMapping("/con")
public class UserController {

    @RequestMapping("/login")
    public boolean login(HttpServletRequest request,String username,String passwd){

        if(StringUtils.hasLength(username) && StringUtils.hasLength(passwd)){
            return false;
        }


        return false;

    }

}
